let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n5,
                    i =
                    (this && this.__extends) ||
                    ((_n5 = function n(t, e) {
                            return (_n5 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n5(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.AbsAction = o.ActionType = void 0);
                var r,
                    a = t('AbsActor'),
                    s = t('TimeMrg'),
                    c = t('AbsObject');
                (function(t) {
                    (t[(t.Normal = 1)] = 'Normal'),
                    (t[(t.Block = 2)] = 'Block'),
                    (t[(t.SameBlock = 3)] = 'SameBlock'),
                    (t[(t.Joint = 4)] = 'Joint');
                })((r = o.ActionType || (o.ActionType = {})));
                var l = (function(t) {
                    function e(e) {
                        var o = t.call(this) || this;
                        return (o._actor = e), o.init(), o;
                    }
                    return (
                        i(e, t),
                        (e.prototype.init = function() {
                            this._type = r.Normal;
                        }),
                        Object.defineProperty(e.prototype, 'type', {
                            get: function get() {
                                return this._type;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'actor', {
                            get: function get() {
                                return this._actor;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'isRunning', {
                            get: function get() {
                                return this._isRunning;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'isFinish', {
                            get: function get() {
                                return this._isFinish;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'runTime', {
                            get: function get() {
                                if (this._startTime)
                                    return 0.001 * (s.TimeMrg.serverTime - this._startTime);
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        (e.prototype.setActorState = function(t) {
                            this._actor && (this._actor.state = t);
                        }),
                        (e.prototype.playAnim = function(t, e) {
                            return (
                                void 0 === e && (e = -1),
                                this._actor ?
                                ((this._animTime = 1),
                                    this._actor.playAnim(t, e),
                                    this._animTime) :
                                -1
                            );
                        }),
                        (e.prototype.start = function(t) {
                            return (
                                void 0 === t && (t = null),
                                this._isRunning ||
                                (this.onStart(t) &&
                                    (this.addAnimationListener(),
                                        (this._isRunning = !0),
                                        (this._isFinish = !1),
                                        (this._startTime = s.TimeMrg.serverTime))),
                                !1
                            );
                        }),
                        (e.prototype.stop = function() {
                            this._isRunning &&
                                ((this._isRunning = !1),
                                    this._actor && (this._actor.state = a.ActorState.Normal),
                                    this.onStop(),
                                    this.removeAnimationListener());
                        }),
                        (e.prototype.finish = function() {
                            this._isFinish ||
                                ((this._isFinish = !0), this.stop(), this.onFinish());
                        }),
                        (e.prototype.update = function(t) {
                            this._isRunning && this.onUpdate(t);
                        }),
                        (e.prototype.onStart = function(t) {
                            return void 0 === t && (t = null), !0;
                        }),
                        (e.prototype.onStop = function() {}),
                        (e.prototype.onFinish = function() {}),
                        (e.prototype.onUpdate = function() {}),
                        (e.prototype.addAnimationListener = function() {
                            this.actor &&
                                (this.actor.on(
                                        a.ActorEvent.ArmatureStart,
                                        this.animStartHandler,
                                        this
                                    ),
                                    this.actor.on(
                                        a.ActorEvent.ArmatureComplete,
                                        this.animCompleteHandler,
                                        this
                                    ),
                                    this.actor.on(
                                        a.ActorEvent.ArmatureLoopComplete,
                                        this.animLoopCompleteHandler,
                                        this
                                    ),
                                    this.actor.on(
                                        a.ActorEvent.ArmatureEvent,
                                        this.animEventHandler,
                                        this
                                    ));
                        }),
                        (e.prototype.removeAnimationListener = function() {
                            this.actor && this.actor.targetOff(this);
                        }),
                        (e.prototype.animStartHandler = function() {}),
                        (e.prototype.animCompleteHandler = function() {}),
                        (e.prototype.animLoopCompleteHandler = function() {}),
                        (e.prototype.animEventHandler = function() {}),
                        (e.prototype.onDestroy = function() {
                            this.stop(),
                                (this._actor = null),
                                t.prototype.onDestroy.call(this);
                        }),
                        e
                    );
                })(c.AbsObject);
                (o.AbsAction = l), console.log("end");
            module.exports =  e.exports;